|
Text wrap of objects For report designing, in some cases it becomes necessary to create text wrap of objects (often, when using pictures). Let us demonstrate this FastReport feature with the example with fishes. Let us add one more "Text" object to the report, and then arrange the objects as shown in the following picture:
We will disable stretching for the "Bio."Notes"" object. On the contrary, we will enable this property for the bottom object. To make the text "blend" from the "Bio."Notes"" object to the bottom one, set the "FlowTo" property in the "Bio."Notes"" object. This property is set in the object inspector and is of the "dropping list" type. The bottom object’s name must be selected from this list. The result would look as shown in the following picture:
When constructing a report, if a text does not find room in the top object, the part, which does not fit the page, will be transferred to the bottom object. Since the objects are located around the picture, the effect of text wrapping is performed. Attention: the main object should be inserted to the report before inserting the linked one. Otherwise, text wrapping may function incorrectly! If your report operatesincorrectly, select the linked object, and then transfer it to the forefront by the "Edit|Bring to the forefront " menu command. |